add test for subclassed dbs