Fix test failure in jaxrs