added tests for ca_port param