Add test for IllegalStateException when no attached executors.