Add test for closing medium and sending closing information message
Fix packaging
Call medium.connect_to_node on new node