path finding test in main