Add error message to TAP-Y/J output

- handle expected failures and unexpected successes