Mavenized java project, added junit dependency, fixed a typo bug in test