Added tests for searches_controller