Created a new test case for shared object deletion.