Test document executes a search and receives a response