Add unit test
Add log
Merge pull request #86 from tmortagne/master

Add unit test