test for #871
snapshot dependants before notifying them of changes, to avoid double updates
fixes #871
Merge pull request #883 from ractivejs/gh-871

gh-871