Test schema validation