Add unit test
Merge pull request #47 from cyrille-leclerc/master

Add unit test