correct and add tests
Merge pull request #34 from poupotte/master

Test