Removed unnecessary and error-proce `cd` in tearDown.