Updated RenderIndexTest with Junit4