update .gitignore
add test for similarity.py