add connection encryption test