tests: use compare, not "diff", in a few stray tests