fix the test cases and delete table