more tests for java8 support