test for #928
fixes #928
linting, remove some dead code
Merge pull request #931 from ractivejs/gh-928

fixes #928