Modified testcase to use Test API and fixed bugs
3 files changed