Rename fig local_port to fig port, and add integration test.