added test dealloc