finished tests for grammar.Alphabet