add test class for ChangesRestClient

- added tests for generating url in #query methods

Related to issue #56