Test passes if a pair of rectangles is identical including layout and orientation.

123 56 7
7 1 52 63

123Abc
def456
123Abc
def456