Do not group first press of backspace or arrow keys with previous keys
Added test to ensure that different arrow keys are not grouped together