Fix Element#[]= by fixing Attributes#set

Fix simple alias typo and add specs to catch breakage.