testclasses for decoding written