Refactor OpenPushHelper tests.