Adds test for not receiving notifications for an object after it does not match a query