EditSession : add getter for `undoSelect` w/ test to fix #2