localizednumber: exit early if other tests fail
Merge pull request #1288 from jokeyrhyme/localizednumber-ie8

[IE8] localizednumber: exit early if other tests fail