test(typeahead): corrects typos

Closes #1209