add .gitignore
make tests work
add tests to README