Merge "Use a mock file to make testGetResourceNameVariants work in jar files"