Set up testing env and gitignore