Added Jasmine tests to check ordering of notes.