clean up a test code file