Fixed up DB testing harness.