update gitignore, add requirements.txt for nose
add tests