fixing issues with classloaders making static lock not work in JUnit