Added pytest for tests, updated gitignore