testing scripts for gcm and apn