Add validateWithString class method
Add gitignore
Refactor test