Optimized object manager handling in test/Layout/Template/OutputFilter.pm.