replace should_render_template in test/functional/auto_completes_controller_test.rb