Revert "Remove the tests for the old validation."

This reverts commit 5a3f3c5c1043641cc8874b0aa7669037ac0844d3.