[Tests][Python] add test cases for ContactSequence helpers to concatenate the trajectories of each phases