The yellow box should be 500 x 500 on startup. Then it should stretch to be 500 x 5000, then shrink back down to 500 x 500. This tests that we can resize to a huge layer and back again and still maintain integrity of the layer tree.

Layer tree appears here in DRT.