Make tests work regardless of which directory the test file is run in