In a large bowl add beans, onions, garlic, broth, molasses, salt, and pepper. Mix thoroughly. Let marinade for 30 minutes. If time allows, place the marinade and beans in a baggie or covered bowl overnight.
Drain bean mixture in a colander.
Arrange beans on a parchment-lined baking sheet. Roast for 10-12 minutes.