Test handleFatalError and add build monitoring script.