[CDE-342]: fixed SimpleAutoComplete Component and unit test

@pamval please review