test-widget: don't leak MarkAttributes