Add a PanicHandler test