Add testing to new crypto_engine