Add attribute modification test.