Test & save connection