Fix regressions in ./test/runtime/test.js after restructuring runtime directory.