Extended test to include a second encoder spinning at half speed and fixed code to make it pass