Additional tests didn't take into account the closed walk - last/first vertex the same.