Added autocomplete tests