more accurate unit tests
Merge pull request #39 from lafourchette/fixUT

more accurate unit tests