test_text updated to reproduce issue #31