Add tests for key stream.
Update test name.
Merge pull request #5 from sorribas/add-tests

Add tests for key stream.