add test resources dir to jdk8