Add Cursor tests.
Remove redundant XPos() and LineNumber() Cursor functions.