Added object deallocation test