make tests work for set attributes