Fix wrong call in autocomplete tests