Add some tests for EventSource
Merge pull request #2473 from pvlugter/eventsource-tests

Add some tests for EventSource