zssh: modernize + basic test added