Now tracks the backspace key being pressed
Tests now handle the history