Testing executor service.
Some minor fixes for executor service.