Testing JAX-RS inheritance