Added tests around subschema error messages