testing the path stabilizing implementation