@Test
    public void testMultiThreadIteration() {
        ActorSet as = new ActorSet();
        Thread[] threads = new Thread[16];

        for (int i = 0; i < threads.length; i++)
            threads[i] = new TestWorker(as, i);

        for (Thread t: threads)
            t.start();


        try {
            for (Thread t: threads)
                t.join();
        } catch (InterruptedException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }