Added tests for DomainMetadata and QueryExecutor services and adapters.