relax test a bit for jdk8