added tests for add_field: m2m and data