Search Controller Integration Tests complete

two extra unit tests also added for search controller.