Refactor assert* method and add to_params
Configure endpoint and jobs resource for CLient