Several additions to testdb.