created test case generator