restore cwd in tearDown()