This test validates that after connection terminate, the connection state is set terminated, the onterminate EventHandler is triggered.
Click the button below to start the test.