Test code to do network simulation with python simulation library