Added unit test for byteStreamToString()