Validation of Finite-Element Models of Persistent-Current Effects in Nb3Sn Accelerator Magnets