some libraries require error objects. This test would be totally useless if they are forced to create their own errors.