created tests for key presses for trainBananas