test agmydala as rest client