Simplify _get_moddict object_class processing.

Can't remember why it had to be so complicated.

Change-Id: Iee4d66d0d44729ab21e18a52f99d2bd7d27acf02
Make it easier to turn on verbose testing.

Change-Id: I0bb31eb8e5f61d09bec080d95b6cbee5f5b6650a