First cut of tests for crypto