Improved test of sorted SortedDict repr