Rotary Encoder testing