stabilised a unit test
trying to add back fork in tests
added a debug statement for the creation of the libjars directory
fixed a compilation error in the tests