test(typeahead): increase coverage of tests