success test to add text to html tag