Bug 900289 - Part 6: Add cascading and restricted deletion tests.