Basic jasmine test for appending note to document.