parse_test.go: Fix improperly set checkNode.id
parse_test.go: Fix improperly set checkNode.id

The id set was not the correct id for the current Node. Getting it at the
beginning of the loop fixed the problem.

demizer/go-rst