Delete linked entities test case