test: use "createLink" command to test text insertion

This is the closest to "insertText" command that we can use,
which actually works cross-browser.