Add unit test for delete in cascade