Issue #12. Add tests for inherited inner classes.