fix unit-tests to avoid false-positives in IE8
Merge pull request #559 from sbyrnes321/IE8tests_take2

fix unit-tests to avoid false-positives in IE8