fix(tests): load current runtime on headless mode