[NamedPipe][test] Run tests on the default context to make the similar condition to the actual use.