EZP-22408 : regression test for related content removal bug

Houston, we have another problem: https://jira.ez.no/browse/EZP-22408