test(module-runner): simplify server-hmr tests (#23300)