add a test for thermal contact with a meshed gap

#2713