This is a DataList test, not a DataObject one (you're testing filter()). Perhaps you should test that ->db()/->dbObject() return correct values for the base fields?