resets cwd after each test