corrected mock behavior where trapped subscription handlers were reset when passing the wrong reference handler to the unsubscribe function