Wrong check on unit test
Merge pull request #401 from cduclos/master

Fixing a unit test failure.