Expand syntax validation for other examples

@brendandburns review please