Improved Jasmine unit tests, fixed a few bugs, and updated the README docs