test folder to .gitignore, refactoring