test code for gcm message receive