unittests, logging time for djikstra algo