Mock node stdout and stderr without pain.