restore test cases