Added test on cascade deletion