Fix coupling to CMS in test for inherited database fields