update POM and add first test

Specify Java 1.6 and update version of JUnit