Refactor main method into instance/static methods for testing
Add accessors to inspect objects
Updated TestingWebServer to be accessible by other tests
Added additional tests to complete coverage of main method.