[IMP] fields: improve _determine_default() and add test for inherited fields