Update to test case

Need to handle case when formatting is applied to anchor tag.