Enhanced connection test api