refs #10187. Bug in test code.