[WebProfilerBundle] added test case for #10773