add test on schema validation