minor fixes in eventListenerSpec, added subscriberSpec
Tests for subscriber