Add JUnit tests
Fix Javadocs
Update pom

New version 2.0.0.