Fixed problem with the linear shortest path test.