fix #973 Fixing the test because was failing on IE7

Test failing on IE7