added test for text selection functionality