Added test for unsubscribing with a predicate