Check that enum is correctly set in db_object_field_not_empty()
Add test coverage for db_join, db_join_list, db_object_field, db_object_field_list, db_object.