Used to test the GUI