updated connection & disconnection tests