Add a test to run with make check to run encoder and decoder to make sure they work at least in one simple case. It is also useful as a documentation about how to use them. Signed-off-by: Loic Dachary <loic@dachary.org>