Update some test.

Update element Text property to use different name values based on element type.