Made connection constuctors protected and renamed test packages.