testcase changed to clear table