SFTP: return $sftp object in new unit test method