Finish unit tests for topologyobjects and fix some behavior in the classes found
as a result.