This is useful for testing.
Created attachment 260094 [details] the fix.
Comment on attachment 260094 [details] the fix. Currently the mechanism for doing this is to add methods inside run-jsc-stress-tests, and then call those methods from the test file using //@ <call> syntax. I don't want there to be another way of doing this, unless you are also proposing changing all tests to use your new mechanism.