add text middle tag test #239

Hi 

As discussed in issue #239.

Thanks
Dan