It is not so complete as a test suite because there are many corner cases to test.
But you can start with it.
In the litereplica folder there is a sub-folder named utils. Inside of it you will find the diffdb.c file.
Compile it to get the tool to compare the db files.
I guess that this command is sufficient:
gcc diffdb.c -o diffdb