Fix double destroy test