rotary encoder (test)