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

        taskManager.reset();

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

    // we now simulate the button being pressed down.
    for(int i=3; i<25;i++)  mockIo.setValueForReading(i, 0x0000);
    assertPressedState(true);
    assertFalse(keyReleased);

    long millisStart = millis();

