Test error generation when running faulty scripts.