Make test framework throw if results are unequal.