test_text: fixed some errors