         }    
         // now check if we are pressed, and if there are any errors.
         assertEqual(pressed, shouldBePressed);
+        assertFalse(keyReleased);
         assertEqual(mockIo.getErrorMode(), NO_ERROR);
     }
 

    mockIo.resetIo();
    for(int i=0; i<25;i++)  mockIo.setValueForReading(i, 0x0000);
    assertHeldState(true);

    // make sure getting to held took near to 400 millis.
    assertMoreOrEqual(millis() - millisStart, (uint32_t)380);

        taskManager.reset();

        pressed = false;
        keyReleased = false;
        held = false;
        callsMade = 0;
        encoderCurrentVal = 0;
