A few improvements in tests about Java Executors