Added testing of layout slot.