revert cwd to its original position each test