Move failing tests to its own testcase set

Fixes bug 6232
Don't generate .jar unless good unit tests pass

Fixes bug 6233
Fork once when running tests instead of one per test

This reduces the time to run the tests from ~43s to ~10s.
Remove extensive test parameter