update .gitignore
remove useless statements
add test suite