Add test for detailed listformatter.
Add tests for ftpfileinfo.
Change TCPConn to Conn interface for easier unit testing.
Add tests for command map.