Disable unnecessary test cases in JavaExperiment.