Actually another factors that many have forgotten or ignored is the pilots that flew these aircraft. There is nothing on these pilots... I believe that like China or many other countries, the pilots in Pakistan are also classified into different classes.
Which roughly means that those flying the JF-17 (being newer fighters) might be say Class A (or equivalent) pilots while those in the older F-16s might be Class B.
It would be interesting if those pilots in the JF-17 actually piloted the F-16 and test against the JF-17 fighters piloted by the those pilots that piloted the F-16s and if the result is still the same, then we can say that the JF-17 is a better plane than older F-16.
Haven't considered this until now... Well Pakistani pilots have shot down MIG-21s using J-6s before in dogfights so it is entirely possible that the skill of the pilot was a part of the equation. Since Pakistan funded the FC-1 project they might also want some publicity for the fighter...