fixed #resourcePathToFilename, unit tests