Serializing connectio node and adds test