Tests for jax-rs