add facet terms search to tests

This query should return some facet terms from the index, but they
should be ignored and not cause an error.