Changing directory before running tests.