Add comprehensive unit tests for Xdr, in preparation for refactorization
Merge pull request #10 from noaresare/pr/xdr-unittests-rebased

Add comprehensive unit tests for Xdr, in preparation for refactorization (rebased)