added tests of AlphabetEncoder classes