Connection and basic test