Fix problem with running tests from directories other than the project root