Added missing test.
Added .gitignore.