Add test script for Text element.