added the testcase for gui
bug fix of backend, could now change the state