PepsiCo Inc is testing greener vending machines, a move that helps the soft drink maker reduce its environmental footprint and gives businesses a little relief on their electric bills.