test jersey rest client