Fixing undefined first step index in walk()
Adding walking tests