script to generate test cases.