test(test.unit) Fixes tests breaking in IE