Feature/test model issue

Refactor test: setupRelation() added.
Add test: testRelationPrecedes() (work in progress)