Change directory before running tests