Sets unlimited number of event listeners.

Fixes Issue #39.

And what is that, a regression test?! Yep, a regression test.