Add test for Encoding interface and corresponding patch
Merge pull request #2 from DeDiS/encoding-patch

Add test for Encoding interface and corresponding patch