implement simple tests, based on examples in the README file.

 -- Cédric Boutillier <boutil@debian.org>  Wed, 22 Apr 2015 15:39:39 +0200
