Added tests for filter and query facets.