added tests for models.Attribute models.Dynamic