test for MarginsWithCellBounds class