Preheat the oven to 400 degrees F.
Place the pork tenderloin/s into the center of a baking sheet, and apply salt and pepper to taste.
In a mixing bowl, combine 3 tbsp of the olive oil, the paprika, cumin, allspice, cinnamon, thyme and 2 cloves of minced garlic. Stir to combine.
In a large bowl, combine the green beans and onions. Pour 1 tbsp of olive oil over them along with 2 cloves of minced garlic. Toss to coat.
Place the seasoned green beans and onions onto the baking sheet around the pork tenderloin/s, and bake for 25-30 minutes until the pork reaches an internal temperature of 155.
Slice and enjoy!