Rest client integration tests

This PR could be merged only after https://github.com/caskdata/coopr/pull/697
this should be null right?  better to Assert.assertNull.