QEI test not working, needs debug