Fix Project.DirectoryPath test

Change working directory before creating the Project so the DirectoryPath
is incorrect