make encryption test code working again (if commented in)