Cleanup test code.