adding search test and view changes for search