Fix broken test cases; allow isRoMetadataRef for non-local ROs