Fixed previously unbroken exception flattening tests