use 'diff' rather than 'cmp -s' in a test

That's what all tests use, no idea where I got the latter from.