fix note edit unit test