tests for passing a string schema id instead of a schema object to validate()