Test implementation of text style manipulation using chunk properties.

There still seems to be an off-by-one somewhere in the chunk length.