Add tests for notemodify