Add autocomplete tests