fixed import statements, added network unit tests to test_functional.py