minor tweak
test for #832
prevent double teardowns (fixes #832)
Merge pull request #848 from ractivejs/gh-832

gh-832