fixed unit test for Registry::getFilename()