added tests for rendering maximized results into result element