Fix java version detection in test2 with last jenkins version
Make test2 reentrant

Fix test2
Add basic test for haproxy