Issue #677: Set back reference when calling add
Provided tests for testing if all references are set for crossreferences before saving