Added a few tests for QueryExecutor and Metadata Services and Adapters.