mavenized with junit test from original test.  jdk8 specified