input: Write a function to generate 10 random mathematics questions.
  assert len(generate_test()) == 10
  assert isinstance(generate_test()[0], str)
  assert any(op in generate_test()[0] for op in ['+', '-', '*', '/'])
output: import random
  
  def generate_test():
      questions = []
      operators = ['+', '-', '*', '/']
      for _ in range(10):
          num1 = random.randint(1, 100)
          num2 = random.randint(1, 100)
          op = random.choice(operators)
          if op == '/':
              # Ensure no division by zero
              num2 = random.randint(1, 100)
          question = f"{num1} {op} {num2}"
          questions.append(question)
      return questions