Added test case generator