editor_test now uses sample_text also