* refactored two layer network test to use OOP better