fixed test to be quirksmode resistant'