Tests with resteasy client