def test_load_config():
    garden = Garden(0,0,world)
    config = {'garden':{'capacity':5}, 'robot':{'speed':5}}

    garden._load_config(config)
    assert garden.capacity == 5