adjusted the placeAnimal test and function