Added addIndexer and removeIndexer methods to World.

Also added some more tests to WorldTest.