The test fails on systems with non EN culture because the text "Actual value was" of ArgumentOutOfRangeException is localized, e. g. on german systems the localized string looks like "Der tatsächliche Wert war".
This change ensures, that the test works independently of the current culture.
The test fails on systems with non EN culture because the text "Actual value was" of ArgumentOutOfRangeException is localized, e. g. on german systems the localized string looks like "Der tatsächliche Wert war". This change ensures, that the test works independently of the current culture.