This test validates that after connection starts, the onconnect EventHandler is triggered and connection state is connected.
Click the button below to start the test.