Fix syntax error in test.

Refs #8373