fix: regression caused by merge in plugin test error codes

* some error codes change to -1 in the new libuv (previously 127)