Added selection.text and Unit tests