fix notes service unittest