Added tests for getPathCostOnDate