IE 8 prints tag names in upper case which was breaking some tests. This commit is not necessary on master but has been brought here to keep tests similar in both branches. (cherry-picked from 5914b10362)
5914b10362