fixes CryptoToken tests by allowing 'algorithm' config argument