JP-50 Add test classes to improve code coverage. 

Remove unnecessary classes to improve code coverage. 
Refactor AutoCompleteController.