Test destroying the code