fixes failed test in CBS-CBS-JOB1-21 (bamboo) caused by the JAVA_OPTS is not set if in build.sbt has: `fork in Test := true`