Fix validation test under py26