Fixed testcase creation.