Fix the error in EncryptionModuleTest