I didn't follow what was happening but I saw the race and he ended 4th, very close to the podium!
Pedrosa is a very good rider, but you have to admit that he already had a prototype bike and also because Misano is an official test track he knows this track better than anyone else, but still a very remarkable achievement that he can still physically keep up with the top.
KTM made a very good move when they got Pedrosa as a test rider, I don't think KTM would be where they are now without Pedrosa.