Test .gitignore pattern matching

There is file test-project/src/main/java/sk/home/miro/testproject/TestClass.java~
in working tree. This commit tests if this file will be commited to repository,
if in .gitignore is line *~