Fix tests not unsubscribing from Notifications.

See https://github.com/rails/rails/blob/master/activesupport/lib/active_support/notifications.rb#L131
Merge pull request #14524 from tgxworld/fix_unsubscribe_from_notifications

Fix tests not unsubscribing from Notifications.