added functional test, more network tests
more tests