Fix async test in node when testing modules. [ci skip]