jasmine tests are now passing again, minor change to how unsubscribe removes instances