Fix IE11 detection, fix tests for IE