Added Jasmine unit tests for notes.