Traffic lights trialled on motorway to fight jams