Added a connection test for postmessage wait verification stage