Updated folder widget to use direct XML for rendering and updated tests.