JsonRestApiController with unit test added.