test-text: implemented test overriding old pasted code
test-text: implemented test overriding old pasted code

The code in test-text was copy&pasted from test-toy-text but never
updated to use AdgText.

ntd/adg,ntd/adg