fixed another part of the entityfactoryTest so that world and entityfactory are now linked