rename generator test cases
fix a bug in a test case