Remove unnecessary files
Create tests for SearchQueryController
Add test for SearchResultController
Extract out database logic to base test class