adds tests for SearchController
fix specRunner
Merge pull request #469 from swatro/master

Adds Tests for SearchController