add unit tests for RevisionsApiRestClient