input: Write a python function to create a Flask route that returns a list of students in JSON format.
  assert get_students() == '[{"id":1,"name":"John Doe"},{"id":2,"name":"Jane Doe"}]'
output: def get_students():
      from flask import Flask, jsonify
      
      app = Flask(__name__)
      
      @app.route('/students')
      def students():
          students_list = [
              {"id": 1, "name": "John Doe"},
              {"id": 2, "name": "Jane Doe"}
          ]
          return jsonify(students_list)
      
      with app.test_request_context():
          return students().get_data(as_text=True)