Fix unit tests under maven
Published maven to central
Improve pom