Fixed Python 3 compatability in TestAlternativeAbbreviations.