Created a new test case for shared object deletion.
Corrected small bug in logic. Testes still passing.
Merge pull request #102 from MorganDawe/7.x.purge_test

Created a new test case for shared object deletion.