How should I test my encoders and decoders?