fix tests, + inherits BaseCrypto test