input: Write a python function to create an Animal object and call its methods.
  assert create_and_test_animal("Dog") == ["Dog is moving", "Dog is eating", "Dog is sleeping"]
  assert create_and_test_animal("Cat") == ["Cat is moving", "Cat is eating", "Cat is sleeping"]
  assert create_and_test_animal("Elephant") == ["Elephant is moving", "Elephant is eating", "Elephant is sleeping"]
output: def create_and_test_animal(animal_name):
      class Animal:
          def __init__(self, name):
              self.name = name
  
          def move(self):
              return f"{self.name} is moving"
  
          def eat(self):
              return f"{self.name} is eating"
  
          def sleep(self):
              return f"{self.name} is sleeping"
  
      animal = Animal(animal_name)
      return [animal.move(), animal.eat(), animal.sleep()]