Reduce notification subscriptions for AC::TemplateAssertions.

Instead of subscribing to notifications during tests setup, subscription to notifications is now done only once for all the tests.