Workaround for problem with err and out streams in NshTest