added a regression test case for view_renderer: local variables should be propagated when used with :collection option