fix broken test
Merge pull request #1079 from batmanjs/test-fix

fix broken test