add more unit tests for ChangesRestClient