APIDump: Inheritance is tested properly.

This fixes #195 's second iteration.