fixed java <8 test infrastructure problem