fix running tests from directories with a space