Testing destory functions.