Updated test for crypto module.