I would look at it from an even more basic perspective. We look at children learning to play chess as good for their cognitive development. Learning programming could likely play the same role, with the added bonus of having a practical purpose.
For that reason I think it'd be misguided to lean too heavily on testing their performance — kids learning chess aren't required to reach certain level at the end of the year, the goal is to go through the training itself.