Fix sample code error in validation.md.
Sync engines.md