integration tests - get_encode_port