Added JUnit. Fixed FTP bugs.