In a large skillet with a lid, heat the olive oil over medium heat. Add the onions and cook them for 3-5 minutes, until they are tender.
Add the garlic, pepper, salt, tomato, and beans and mix very well. Stir in the tomato paste mixture and blend it in well.
Cover the pan and cook the beans over low to medium heat for 20 to 30 minutes, stirring occasionally, until the beans are tender when pierced with a knife.