Added destroy callback with test