Expose the difference if dimensions are not the same

During the unit testing we needed to allow some dimension difference as the image size depended on the svg viewport bounding client rectangle, whose value may vary in different browsers. There is no way to access these informations at the moment.