Fix class heirarchy testing so lookups of moons and other objects work in pyephem