Added some files to gitignore.
Added missing testcase.