regernate test cases