If you have a transponder with Mode C, you can confirm the accuracy of the reading/s at altitude.
As I have posted earlier, the above statement may not necessarily be accurate. Remember I said I found a FACTORY BUILT aircraft with the encoder hooked up to the pitot line. This paticular aircraft had not flown in controlled airspace. In any case I have seen encoders many hundreds of feet out of cal. when tested.