trying out custom connection Test function