Homeless people given free public transport in new trial