@Test
    public void testRemove() {
        // Test that we can remove an actor while iterating over the set
        ActorSet as = new ActorSet();
        for (int i = 0; i < 100; i ++)
            as.add(new TestActor(Vector3f.newRandom(100)));

        int count = 0;
        for (Actor a: as) {
            if (count % 7 == 0)
                as.remove(a);

            count ++;
        }
        assertEquals(100, count);
    }