Clean up temporary directory test case