fixed call to contructor of Dimension, which is private by now
replaced with call to createInstance
removed two assertions that checked, if two objects are not identical (a Point and a Dimension)
these are now identical if the contain the same information, hence, removed the two asserts