Fail build when tests fail on Java. Closes #18.