add validation to noteBody and tested