diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index e19b1f22e6..281d2afb76 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -1179,6 +1179,19 @@ START_TEST(evas_textblock_format_removal)
fnode = evas_textblock_node_format_first_get(tb);
fail_if(fnode);
+ /* The first one below used to crash: empty value.
+ * Test some invalid stuff doesn't segv. We force relayout as this will
+ * trigger the parser. */
+ evas_object_textblock_text_markup_set(tb, "A");
+ evas_object_textblock_size_formatted_get(tb, NULL, NULL);
+ evas_object_textblock_text_markup_set(tb, "A<=b>");
+ evas_object_textblock_size_formatted_get(tb, NULL, NULL);
+ evas_object_textblock_text_markup_set(tb, "A<=>");
+ evas_object_textblock_size_formatted_get(tb, NULL, NULL);
+ evas_object_textblock_text_markup_set(tb, "A");
+ evas_object_textblock_size_formatted_get(tb, NULL, NULL);
+ evas_object_textblock_text_markup_set(tb, "A