Revert "Fixed textnote test."

This reverts commit 373c8400f05dff7de7481793d32f77a1286974fb.
Revert "Revert "Fixed textnote test.""

This reverts commit faed01872f775fe0376393cc6dd30723456cc267.
convert to typescript project