Testing the startup error event