Tidy up TDB

Now scales # documents using test scale factor. Throws a
BenchmarkAssertionException if the consistency check fails during setup.