The F-16 has an aerodynamic advantage over the A model. The F-35 has a thrust advantage. After they fix the flight control laws (why this test was done in the first place), I expect the F-35 to have a small advantage, if flown right, over the F-16 even without all the fancy toys. My number one complaint after the flight controls would be the eyebrow on the helmet. Very, very, very bad for dogfighting. There is a better way of visor display now.
The strategic benefit of the F-35 is worth the trouble. A 5th gen fighter is costly in development and in proper sustainment. This puts our adversaries into a difficult box. They may never really get past the prototype stage or just create a gen 4+ aircraft that is also expensive.