Mostly restored PushManager unit tests.