add tests for text search view