clean test code.