testing intel xdk uploadToServer