Add test for text surrounded by markup