testing jax-rs