tests: Replace some references to tdb with ldb://