DG: Unit tests for Sharing Agreement issues (REF-387)