This tests that using substitute load in combination with non-deferred main resource loading will not cause assertions or duplicate loads, which can happen if the substitute document contains JavaScript-alerts.