autocomplete tests fix