Added tests on JVM.
Merge pull request #389 from jca02266/tests-on-jvm

Added tests running on JVM.