Fixed tests that were not ported from intern to jasmine correctly.

Closes #40
Merge pull request #42 from agrc/undo-tests

Fixed tests that were not ported from intern to jasmine correctly.