Add a __del__ test

I'm worried that this won't work in pypy, so I'm committing to see what travis has to say about the issue.