Output the expected failure message instead of undefined
Merge pull request #607 from alancutter/fixExpectedFailureMessage

Output the expected failure message instead of undefined