By review and by trying the functionality on a system with pillars that supports sending a checksum along with duplicate file.
On a such system, try to put a file that already exists with the correct checksum. The operation should end with success.
Try again putting a file with a different checksum, it should fail