Indeed, suffering and more importantly our reaction to it, often tests our faith. It can be a great teacher that produces patience and trust, or it can lead to a complete meltdown. God expects certain things on our part, but He will supply greater grace (James 4:6) when we trust Him with our lives.