Test passes if:
1. the rectangle 1, 2, 3 show up in a vertical column in a red rectangle.
2. No gap between the top of red rectangle and the top of rectangle 1, no gap between the bottom of red rectangle and the bottom of rectangle 3 too, and rectangle 2 is distributed so that the empty space between rectangle 1 and rectangle 3 is the same.

1
2
3