Adding JDK tests to Travis, and a simple typo fix