Fixed critical bug in AutocompleteHelper.hx
Some code cleaning.
Append testing class.