encoders test