ACCESS-139/141. Fix incorrect tests in TestRuntimeMetadataRetrieval