Add test_render_with_control_code_for_in_loop_without_parent

There is a bug introduced because of the change from array buffer to
string buffer. When a for loop at top level, the result is still in
array. It should be in string.