Adds tests for multi-table inheritance.