There's no longer any JS-only top level function that is not imported by default, so I used a common non-imported top level function.
Don't reconfigure runtime before every test. For consistency, mark tests that require the runtime with directives instead of relying on test file names.