It can be considered in two ways.
The tests that we go through during our academic life cannot be called as a measure of our knowledge. Most of it just tests our memorising power.
Give the person a live, on the spot problem and see how he solves it. How he analyse it and the way he arrive at a conclusion can be used to measure his knowledge in the field.