Refactor OpenPushHelperTest.