Support destructuring (fixes #100)
Add test for destructuring (#100)

Thanks @chochos and @quintesse for showing me their tests! This test
would have been much less extensive without that.