Fixed #21005 -- Made schema tests language-independent

Thanks Simon Charette for the review.