created unit test for gui