Add test coverage for subclass + metaclass fix.
Revert "Change genty to not use namespace packages."

This reverts commit 27a27ba83b295fe4404e4cfa707f579f591bfdeb.

This is supposed to be only on the no_namespaces branch.