Fix Jax RS problem
Tried to fix JAX-RS config for task endpoint and added integration test