fix directoryLocationsTest