add .env to .gitignore
added controller tests