Minnal jaxrs test

Rename this method as metioned above