Added test case to connect GUI and controller.