Fix cursor move and backspace for multi-caret + specs

Fixed a bug introduced by the last merge, added two specs as well, showing the bug to be fixed, one for cursor moves and one for backspace.