Co-ordinator GetAll fails for some data

1) Unit tests for GetAll had a bug, which did not fail the tests.
   The values were compared, but the tests did not fail when the
   values does not match. created a method assertValueEquals to
   handle this scenario.
2) The client deserialization used the getContent method which
   corrupted the binary data. Now using getRawInputStream. But not
   sure about the difference between the getInputStream and
   getRawInputStream.
3) Wrote 2 new tests to check all possible byte data for co-ordinators
  ( get, getall )
4) Refactored some of the unit tests to use a common code path.