Global gitignore

Created tests to use regex instead of defining each new tests, easier to
add new tests