Added test for Dimension.combineDimensionComponents(), fixed bug in method