Added tests and mocks for handling searching with a facetQueries
parameters