fixed plain encryption test