Add test for ca_port with an integer parameter

This is a regression test for GH-207.