fixes to pass tests
update tests and make some fixes related to flattening of namespace hierarchy; fix guppy.Polygon subs error