tweaked feature test to account for IE8 setAttr quirk