New tests
Multiple bug fixes
Added gitignore