code review issues, actually test search, and fix the search