There is already a `Test#toJSON` test, is there a reason why there has to be an entirely separate duplicate one for errors?