Minor modif on testTraj & modif on sleeping behavior