Added test_add_text_bad test case