#57 test that doLayout is called on collapse change