Some more fixes for python3 in crypto_engine
Fix test_crypto_engine

The tests run now as part of the suite and as stand alone