Various adjusts

Validation select function parameter
ADD gitignore
Rename tests folder