createTextRange Method test sample