Fixed smallish issues because of which tests were failing.
Added an unit test for verifying serialization/deserialization of big
messages using managed buffers.