gitignore, maven, and a new test case

Maven is a tool for managing a project, esp. for the dependencies.
Try "mvn test" to run the test.