make a less specific string match to make test work in IE8