Clean up test code.