fixed connection test and upgraded docs