Adding tests for event streaming