Added test and merged fix from philstrong
Added test and merged fix from philstrong

aslakhellesoy/eventsource,EventSource/eventsource,EventSource/eventsource,aslakhellesoy/eventsource-node,aslakhellesoy/eventsource-node,aslakhellesoy/eventsource