Add regression test for renderString