Fixed tests to be compatible with IE10