CB-6571 Add test for DirectoryEntry.toURL() having a trailing slash