Fixes #1457
Add a destroy method for the test
Fixes #1456