UnitTest: Metadata/facets. Writing test code for methods and a scenario to check if indexed package has the required custom fields