Added some tests for $asEventStream