layout and xtype test