Fix `error reporting` tests spec