Added test for the Position property
Refactored Back method to make it easier to use in Moq
Add tests for cursor movement and backspace on the input line.