Broken Jasmine test for #158 fix