Merge "Add test_port_shut_down API test"