better tests of layout() problems