[test suite] restore --diff mode, fixes #52