Fix regex for finding failed test name.

Refs #9874