adds tests for crypto