Cipher stream tests.
Restored full coverage.