tdb: Basic test for circular hash chain fix