Testing updateDevices Ajax call to webService