Crypto: add basic tests
Make it possible to run the whole test suite with crypto enabled