tdb: fix test to remove warning, and don't fail when tdb_check() barfs.