added test for set-attr