test(typeahead): Add test for new typeahead option.