added tests for ftp