Add unit tests for plotBucket.Consolidate() method