Fixed test compilation
Fixed broken tests
Added cmd_connect tests for argument validation
Added cmd_connect tests for connecting server and port