Test if HTTP 404 or 500 calls or down hosts for a script trigger a scripts error handler.
For this test to receive 500 responses, nodejs needs to run server.js in this directory.
Output below should be "404 onerror triggered", "500 onerror triggered" and "no server onerror triggered". They may be in a different order, but that is OK.