Fixed the Testcase -> The deprecated render_text function was removed