added new unittest for start and end-waypoint