replace should_render_template in test/functional/reports_controller_test.rb