fixed failing tests caused by different typeahead ordering.