Support for testing search spanqueries.