add tests to check the proper embedding of text-annotation spans in the content