Rest client integration tests

This PR could be merged only after https://github.com/caskdata/coopr/pull/697
Assert.assertEquals(3, result.size()) will give a more descriptive error message if it fails