removed dependency on world for agent testing