test code for sending using GCM server