Added support for test on Java 8.
Merge pull request #14 from ctc-g/test-hotfix

Added support for test on Java 8.