hooked up some tests against the db.