Add comprehensive tests
It's pretty easy to mock the PortOps trait. Should add some comprehensive tests of all the features. Ideally have 100%. It would also be neat to get dumps of configuration space from actual systems and include those in the test suite.