I think there are two main reasons Trump is testing Judge Merchan. First he wants to anger the judge to the point that the judge makes a mistake which leads to Trump’s conviction being overturned by a higher court. Second, Trump wants his first trip to a jail cell coming from violating a gag order rather than a conviction in the hush money trial.