Testing with jersey-client