Pass addEndVertex test