finished the test generation