Add .gitignore, regression test to test for issue #1