correctif in legendTest for block class bug in IE9 & IE10