ugly test code for services.notify change