Better testing for gui