Move unit tests to tests.py
Modify .gitignore to include .gitignore file