Add unit test for dependent_drop_statements with object exclusion
Fix bug in dependent_drop_statements and dependent_create_statements exclusion check