Adding test for java8, we don't need to require the jar manually, it should be loaded automatically as its built in