extra test for schema generation with class with 2 external FKs for
fields of same name