Fixed a bug where calling unsubscribe would remove all subscribers.
Adding more tests.