Add python test and some network programming