Make unit test safe to parallel executions by different JVMs