Issue 91

Unit tests to up coverage on search controller