Unit tests for text formatting

    [getRawContents] [getContents]