created test rest api using JerseyRestClient