Updated validation tests in examples