add test_text_ws.cpp