Basic tests for legend item auto width
Legend accepts parameter for automatic item widths in horizontal legends
Improved tests for legend item auto width, added test checking if offsets for both options are different