Fix tests

Apparently signature of tryCompare is a bit different that I expected.
Merge pull request #67 from nierob/fixtest

Fix tests