remove set_tags, this method does not exist
add one test for CryptoEngine

also do some stuff in more pythonic way