Unit test fixes for IE11