unittests - Add unit test for object deletion