Update testnode2.py

Improving front-end interface