Water expands when it is heated, so this would rise the pressure. But if a 10 bar test exceeds the final pressure of the heated pipe it would not leak? Is that correct?
10 bar is very high pressure
If its open vented it will not increase in pressure regardless of how hot it got
The highest I've known is 7 bar
5 bar is a reasonable test pressure