delete unused testcase and refactor test resources.