Add test coverage for textarea-style captions