Make `interval` work with multiple subscribers

As per @samuelgruetter's comments in #55, I added some tests against `interval` together with multiple subscribers, and then proceeded to fix the behavior by wrapping it in another subscription function.

I hope it's ok now.