a test program for iOS push mechanism