Added type.string check with sanitize options.
Addded validate methods for string test.