General Motors and Brazilian energy giant Petrobras have signed a cooperation agreement to start tests of biofuels in cars in Chile.