rotary encoder interrupts testing