Update testnode2.py

working, and separate file from flask and kademlia