Minnal jaxrs test

Instead of extending, can we have our own class