DbObject tests.