Test on JDK8

Closes #6