Relationship test

Fixed dsl and tests for unsupported nullable references to entities