Update TestCase test_dynamic_fields_class, if document, DBRef or Copy