Fix notification tests.