CORE-4876 Fixed metadata tests in DataSearchQueryBuilderTest.