Made changes to net_test