Mostly Networking Unit Tests

minor fixes to previous unit tests and many new unit tests for model and networking classes