Fix tests for 1019
Merge pull request #1031 from ractivejs/gh-1019-tests

Fix tests for 1019