Updated the script to produce test cases.