Added tests to cover the new relationship deleting behaviour (and to catch the original bug)