disassembly: Add destroy() method
unit test: Add memory leak test (fails currently)