make sure we handle only stderr in ssh extended_data, improved tests