Add tests for schema init with inheritance

Tries to test the schema initialization with every permutation of orderings for the relevant classes. I failed to find a way to reproduce any of the issues reported post-0.86.3, but this does at least fail without the fixes in both 0.86.1 and 0.86.3, both of which previously had no regression tests.

@alazier 
Should do the same for the ```sharedSchema``` method.