I find the U.K. military system more logical (unless that’s changed since I left).
A pilot can log P1 or P2 and there is a separate column for captain. So you can be flying your test and log P1 and leave the captain column blank. The examiner logs P1 or P2 (or some of each as appropriate) but logs the captain time for the whole flight.