Fixing unit tests failing and preparing pom for maven central