Added cascading deletion
Added tests for empty data