jasmine test case for search view