added in text option in schema type and also tests

added a text option in schematype

added a test

whitespace

typo