Don't fork JVM to test

Try to catch segfaults in tests by running tests in main process.