Update notes for submitted changes

* Add unit tests for selection position calculation.