Testing jax-rs libraries