Testing the crypto module