gui.factory tests