add testing branchs and 3.1 to matrix