Fail examples if before each hooks fail

Exceptions thrown inside before each hooks should result failures for
those examples.