Merge pull request #53 from cyrille-leclerc/master

add unit test