More tests (examples, really) for inheritance across pkgs

Just a copy of wch/pkgClosure, it is easier to experiment
with it this way.