added test for crypto