Added tests for world.py