testing: add tests for search view