add text selection test script