crypto_stream tests