CharacterMatrix.pack() test