Add a few missing cascade-deletes
Fix test broken due to delete_record change
Merge pull request #163 from reciprocity/feature/cascade-cases-and-tests-fix

Test fixes and a few cascade-delete additions