Fix tests

Apparently signature of tryCompare is a bit different that I expected.