notesService unit tests