Improve test for directoryPath().