Test for jax-rs