Added tests to setup.py and a general python .gitignore