added test.py and modified .gitignore