Repro case for ShouldThrow issue