test: export JAVA_HOME for wordcount test

Signed-off-by: Joe Buck <jbbuck@gmail.com>