Add tests for all text fragments

This just checks if the style hash has been removed from the
text.