sub schema (SchemaAttributePathInstance) domain model extension + test re-factoring

* incl. new init_internal_schema.sql script (+ generation via code)
We can refaktor this later, but these constants may also be useful at other places and not only in the test code. Should we move them simply to Attribute?