set attributes test