fix typo & spec test; added .gitignore