fix #1368 Fixing test failing on IE7/IE8

This commit fixes a test failing on IE7/IE8
1.6.9