test Text() method