Fixed reporting of expected failures

Fixes #59