Adding tests for Search controller.