Need to set getString = _getStringJS in the test.html, not from the outside of the iframe which is too late for "expected exceptions" to work in tests.