Implement TestCases.