implement Gcm Test code to GcmActivity