diff --git a/tests/test_flatland_envs_rail_env_shortest_paths.py b/tests/test_flatland_envs_rail_env_shortest_paths.py
index 01dcc80bc6e6acd2394a7f451cb8844a69263d21..1f79ceff0012fa654a3b5835cc6797d9fbee3e12 100644
--- a/tests/test_flatland_envs_rail_env_shortest_paths.py
+++ b/tests/test_flatland_envs_rail_env_shortest_paths.py
@@ -199,7 +199,7 @@ def test_get_shortest_paths_max_depth():
 
 
 
-def test_get_shortest_paths_max_depth():
+def test_get_shortest_paths_agent_handle():
     env = load_flatland_environment_from_file('test_002.pkl', 'env_data.tests')
     actual = get_shortest_paths(env.distance_map, max_depth=2,agent_handle=1)