Move unit-test into right place and fix the pom for dependency.