fixed the executor service for tests