Added `destroy` method and tests

and a minor fix to a require