Test command mode arrow functionality by pressing related arrow keys and checking the selection state of the cell, INSTEAD OF editing the cell and then checking that the output of all cells matches an expected value
Test edit mode arrow functionality by following the high level approach used in the selenium tests (up arrows in edit mode on empty cells jumps to cell above, etc.)
Complete rewrite for test_dualmode_arrows: