corrected the tests and parameters
Merge pull request #14 from etiennefontaine/master

corrected the tests and parameters