Started writing test for db side cascades