refactor ChangeApiRestClientTest