test passing: connects successfully - online mode