Fix tests and ignore node_modules folder in .gitignore