updating .gitignore and fixing typo in __init__
flake8 fixes and start of a unittest