add tests on saving events on stream