parse_test.go: Add state to check functions