Add test helper for testing message searches.
Add test for starting a message search.
Fix rendering message query responses.