fixed a compilation error with scala 2.10
small edit to the ExecutorSpec