Fix cursor move and backspace for multi-caret + specs

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