Change: refactor key stream test.