old_contents: """
  Tests donut/modules/core/
  """
  from donut.testing.fixtures import client
  from donut import app
  from donut.modules.core.helpers import get_member_data
  from donut.modules.core.routes import get_members
  
  
  # Helpers
  def test_get_member_data(client):
      assert get_member_data(1)['user_id'] == 1
  
  
  # Test Routes
  def test_get_members(client):
      assert get_members(1) is not None
  
new_contents: """
  Tests donut/modules/core/
  """
  from donut.testing.fixtures import client
  from donut import app
  from donut.modules.core.helpers import (
      get_member_data,
      get_member_list_data,
      get_name_and_email, )
  from donut.modules.core.routes import get_members
  
  
  # Helpers
  def test_get_member_data(client):
      assert get_member_data(1)["user_id"] == 1
  
  
  def test_get_member_list_data(client):
      members = get_member_list_data(attrs={"uid": "1957540"})
      assert members[0]["uid"] == "1957540"
  
  
  def test_get_name_and_email(client):
      name, email = get_name_and_email(1)
      assert name == "David Qu"
      assert email == "davidqu12345@gmail.com"
  
  
  # Test Routes
  def test_get_members(client):
      assert get_members(1) is not None
  
subject: Add more core tests