Added more test cases to search controller