made ftp adapter more testable, integrated uri component and update tests