Jasmine tests that work with pull request 779

Here are my (basic, limited) tests that now work with your change.