Test passes if characters of both rectangles have the same order, same layout and the same orientation.